package com.qf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @MapperScan("com.qf.dao"): 创建dao包中 所有接口的动态代理对象，并注入到IOC容器中
 *
 * 保护你的大熊
 * 2022/3/10
 * 10:27
 */
@SpringBootApplication
@MapperScan("com.qf.dao")
public class SpringBootMybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootMybatisApplication.class, args);
    }

}
